package com.hlg.xboot.enums;

/**
 * <p>Description: 查询条件类型</p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: HLG</p>
 * <p>Site: www.hlgroup.com</p>
 *
 * @author tianzw
 * @version 1.0
 * @date 2017/07/04
 */

public enum WhereType {

    AND("and",1),
    OR("or",2);

    private String desc;
    private Integer value;

    WhereType(String desc, Integer value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

}
